const api = {
  supplier: {
    setSupplierState: 'bus/supplier/setSupplierState',
    exportUrl: 'bus/supplier/export',
    page: 'bus/supplier/page',
    list: 'bus/supplier/list',
    get: 'bus/supplier/get',
    add: 'bus/supplier/save',
    update: 'bus/supplier/update',
    supplierBondType: [{ label: '不垫付', value: 0 }, { label: '底价', value: 1 }, { label: '税金', value: 3 }, { label: '底价+税金', value: 2 }, { label: '底价/2+税金', value: 6 }, { label: '全额垫付', value: 5 }/*, { label: '销售金额*费率', value: 8 }*/],
    remove: 'bus/supplier/remove',
    bankType:[{ label: '垫付款', value: 1 }, { label: '开票税金', value: 2 }]
  },
  supplierBank: {
    page: 'bus/supplier/bank/page',
    setBankState: 'bus/supplier/bank/setBankState',
    list: 'bus/supplier/bank/list',
    get: 'bus/supplier/bank/get',
    add: 'bus/supplier/bank/save',
    update: 'bus/supplier/bank/update',
    remove: 'bus/supplier/bank/remove'
  },
  formula: {
    list: 'system/formula/list'
  },
  supplierRate: {
    page: 'bus/bsr/page',
    list: 'bus/bsr/list',
    get: 'bus/bsr/get',
    add: 'bus/bsr/save',
    update: 'bus/bsr/update',
    remove: 'bus/bsr/remove'
  },
  customRate: {
    page: 'bus/bcr/page',
    list: 'bus/bcr/list',
    get: 'bus/bcr/get',
    add: 'bus/bcr/save',
    update: 'bus/bcr/update',
    remove: 'bus/bcr/remove'
  }
}
export default api